@function getRemNum($rem) {
  @return ($rem /37.5)
}

body {
  background: #F5F5F5;
  font-family: PingFangSC-Medium, PingFang SC;
}

header {
  margin: getRemNum(24rem) auto 0;
  width: getRemNum(375rem);
  height: getRemNum(34rem);
  box-sizing: border-box;
  padding: 0 getRemNum(16rem) 0 getRemNum(17rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;

  .back {
    height: getRemNum(12rem);
    width: getRemNum(12rem);
    background: url('https://19jwshow.oss-cn-shenzhen.aliyuncs.com/images/close.png') no-repeat;
    background-size: contain;
  }

  .search-box {
    position: relative;
    height: getRemNum(34rem);
    width: getRemNum(228rem);

    .search-button {
      position: absolute;
      margin: getRemNum(10rem) 0;
      left: getRemNum(16rem);
      text-align: left;
      display: block;
      width: getRemNum(16rem);
      height: getRemNum(16rem);
      background: url('https://19jwshow.oss-cn-shenzhen.aliyuncs.com/images/searchButton.png') no-repeat;
      background-size: contain;
    }


    input {
      font-family: PingFangSC-Regular, PingFang SC;
      background: #FFFFFF;
      height: getRemNum(34rem);
      width: getRemNum(230rem);
      border-radius: getRemNum(8rem);
      font-size: getRemNum(14rem);
      border: none;
      outline: none;
      text-align: left;
      line-height: getRemNum(20rem);
      letter-spacing: getRemNum(0.7rem);
      box-sizing: border-box;
      padding: 0 getRemNum(40rem);
    }
  }

  .deleted, .manageReleases {
    height: getRemNum(34rem);
    width: getRemNum(69rem);
    border-radius: getRemNum(8rem);
    font-family: PingFangSC-Medium, PingFang SC !important;
    font-size: getRemNum(14rem);
    font-weight: bold;
    line-height: getRemNum(34rem);
    color: #fff;
    white-space: nowrap;
    background: linear-gradient(135deg, #4279FD 0%, #89B1FF 100%);
  }

}

#container {
  margin: 0 auto;
  width: getRemNum(375rem);

  .no-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: getRemNum(628rem);
    color: #D8D8D8;
    font-size: getRemNum(16rem);
    letter-spacing: getRemNum(0.6rem);
    font-family: PingFangSC-Regular, PingFang SC;

    section {
      width: getRemNum(38rem);
      height: getRemNum(38rem);
      background: url("https://19jwshow.oss-cn-shenzhen.aliyuncs.com/images/emoticon%403x.png") no-repeat;
      background-size: contain;
      margin-bottom: getRemNum(6rem);
    }
  }

  .manage-releases {
    color: #333333;
    font-size: getRemNum(18rem);
    font-weight: bold;
    text-align: center;
    margin: getRemNum(29rem) auto getRemNum(18rem);
  }

  .deleted-release {
    width: getRemNum(375rem);
    height: getRemNum(164rem);
    background: #FFFFFF;
    box-sizing: border-box;
    padding: getRemNum(16rem);
    margin-bottom: getRemNum(12rem);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all .2s;

    .deleted-release-information {
      height: getRemNum(103rem);
      display: flex;
      justify-content: space-between;

      .deleted-release-image {
        width: getRemNum(88rem);
        height: getRemNum(103rem);
        border-radius: getRemNum(8rem);
        overflow: hidden;

        img {
          height: 100%;
          width: 100%;
          object-fit: cover;
        }
      }

      .deleted-release-content {
        font-family: PingFangSC-Medium, PingFang SC;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        position: relative;
        width: getRemNum(231rem);
        height: getRemNum(103rem);
        line-height: getRemNum(25rem);

        .deleted-release-title {
          height: getRemNum(22rem);
          color: #333333;
          font-size: getRemNum(18rem);
          font-weight: bold;
          overflow: hidden;
          display: -webkit-box;
          -webkit-box-orient: vertical;
          -webkit-line-clamp: 2;
        }

        .deleted-release-label {
          color: #89B1FF;
          font-size: getRemNum(12rem);
        }

        .deleted-release-time {
          font-size: getRemNum(10rem);
          color: #999999;
          letter-spacing: getRemNum(0.6rem);
        }

        .deleted-release-address {
          color: #757575;
          font-size: getRemNum(10rem);
          font-family: PingFangSC-Regular, PingFang SC;
        }
      }
    }

    .deleted-release-time-operation {
      font-family: PingFangSC-Medium, PingFang SC;
      height: getRemNum(28rem);
      display: flex;
      justify-content: space-between;
      align-items: flex-end;

      .deleted-release-operation {
        width: getRemNum(140rem);
        color: #757575;
        font-size: getRemNum(12rem);
        display: flex;
        justify-content: space-between;
      }

      .deleted-button, .recovery-button {
        width: getRemNum(66rem);
        height: getRemNum(29rem);
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: getRemNum(8rem);
        color: #fff;
        font-size: getRemNum(14rem);
        letter-spacing: getRemNum(0.47rem);
      }

      .deleted-button {
        background-color: #F96B6B;
      }

      .recovery-button {
        background-color: #D8D8D8;
      }
    }
  }

  .deleted-release-text   {
    width: 100%;
    height: getRemNum(150rem);
    padding: getRemNum(16rem);
    box-sizing: border-box;
    margin-bottom: getRemNum(12rem);
    background: #fff;
    display: flex;
    justify-content: space-between;

    .deleted-release-text-information {
      width: getRemNum(261rem);
      display: flex;
      flex-direction: column;
      justify-content: space-between;

      .deleted-release-text-title {
        width: getRemNum(261rem);
        height: getRemNum(33rem);
        overflow: hidden;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        font-family: PingFangSC-Medium, PingFang SC;
        font-weight: bold;
        color: #333333;
        font-size: getRemNum(16rem);
        letter-spacing: getRemNum(0.6rem);
      }

      .deleted-release-text-label {
        color: #89B1FF;
        font-size: getRemNum(10rem);
      }

      .deleted-release-text-time {
        color: #999999;
        letter-spacing: getRemNum(0.3rem);
        font-size: getRemNum(10rem);
      }

      .deleted-release-text-operation {
        width: getRemNum(140rem);
        color: #757575;
        font-size: getRemNum(12rem);
        display: flex;
        justify-content: space-between;
      }
    }

    .deleted-release-text-address-operation {
      display: flex;
      flex-direction: column;
      justify-content: space-between;

      .deleted-release-text-address {
        font-size: getRemNum(10rem);
        color: #757575;
        font-family: PingFangSC-Regular, PingFang SC;
        text-align: right;
        white-space: nowrap;
      }

      .deleted-button, .recovery-button {
        width: getRemNum(66rem);
        height: getRemNum(29rem);
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: getRemNum(8rem);
        color: #fff;
        font-size: getRemNum(14rem);
        letter-spacing: getRemNum(0.47rem);
        align-self: flex-end;
      }

      .deleted-button {
        background-color: #F96B6B;
      }

      .recovery-button {
        background-color: #D8D8D8;
      }
    }
  }
}
